package com.gaohe.service.impl;

import com.gaohe.pojo.StadOrder;
import com.gaohe.mapper.StadOrderMapper;
import com.gaohe.service.StadOrderService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 订单表 服务实现类
 * </p>
 *
 * @author liu
 * @since 2025-04-12
 */
@Service
public class StadOrderServiceImpl extends ServiceImpl<StadOrderMapper, StadOrder> implements StadOrderService {
    @Autowired
    private StadOrderMapper stadOrderMapper;

    @Override
    public List<StadOrder> getAllMoneyByUserId(Long id) {
        return stadOrderMapper.getAllMoneyByUserId(id);
    }
}
